package com.hsmw.api.mapper;


import com.hsmw.api.vo.MoveAndRunVO;
import com.hsmw.common.base.BaseMapper;
import com.hsmw.domain.HsmwOrderBalance;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单结算表 Mapper 接口
 * </p>
 *
 * @author wd
 * @since 2021-10-11
 */
public interface HsmwOrderBalanceMapper extends BaseMapper<HsmwOrderBalance> {

    List<HsmwOrderBalance> findOrderBalanceInfo();

    List<HsmwOrderBalance> findOrderBalanceByTime(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("id") String id);

    Long findMoveCountById(@Param("id") String id, @Param("month") String month);

    List<MoveAndRunVO> queryDriverMoveList(@Param("id") String id, @Param("month") String month);
}
